package Day06;

import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入数据:");
        int num = in.nextInt();
        if (num%13==0){
            System.out.println("该整数是13的公倍数");
        }else {
            System.out.println("该整数不是13的公倍数");
        }
        if (num%7==0){
            System.out.println("该整数是7的公倍数");
        }
        else {
            System.out.println("该整数不是7的公倍数");
        }
        if (num % 13 == 0 && num % 7 == 0) {
            System.out.println("该整数是7和13的公倍数");
        } else {
            System.out.println("该整数不是7和13的公倍数");

        }
    }
}
